package com.teacher.pojo.vo.teacher;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: zfm
 * @Date: 2020/12/17 14:04
 */
@Data
public class TeacherGetVo {
    private String name;
    private String teacherKey;
    private String email;
    private String mobile;
    private String sex;
    @JsonSerialize(using = ToStringSerializer.class)
    private String departmentId;
    private String departmentName;
    private String roleInfo;
    private List<String> roleList = new ArrayList<>();
    private List<String> roleNameList = new ArrayList<>();
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
}
